package com.biz.primus.ms.member.trans;

import com.biz.primus.model.member.vo.MemberFootprintVo;
import com.biz.primus.ms.member.dao.po.MemberFootprint;
import com.google.common.base.Function;
import org.springframework.beans.BeanUtils;

/**
 * vo转po
 * @author jun.liu
 * @date 2017年10月23日
 * @reviewer
 * @see
 */
public class MemberFootprintVoToMemberFootprint implements Function<MemberFootprintVo, MemberFootprint>
{
    @Override
    public MemberFootprint apply(MemberFootprintVo vo)
    {
        MemberFootprint po = new MemberFootprint();
        if (vo != null)
        {
            BeanUtils.copyProperties(vo, po);
        }
        return po;
    }
}
